import pygame

class Wall(pygame.sprite.Sprite):
    def __init__(self,x,y):
        super().__init__()
        self.image=pygame.image.load('assets/wall.png')
        self.rect=self.image.get_rect()
        self.rect.x=x
        self.rect.y=y
        self.mask = pygame.mask.from_surface(self.image)
        self.live = True
        self.mask = pygame.mask.from_surface(self.image)